<?php
declare(strict_types=1);

namespace App\Enums;


class AnchorEnum
{
    // 任务周期
    const TASK_PERIOD_DAY = "day";
    const TASK_PERIOD_WEEK = "week";
    // 任务等级
    const TASK_LEVEL_PRIMARY = "primary";
    const TASK_LEVEL_ADVANCED = "advanced";
    // 任务类型
    const TASK_TYPE_ONLINE = "online"; // 在线
    const TASK_TYPE_USER_MATCH = "user-match"; // 匹配
    const TASK_TYPE_USER_CHAT = "user-chat"; // 私聊
    const TASK_TYPE_DYNAMIC = "dynamic"; // 动态
    const TASK_TYPE_RECEIVE_GIFTS = "receive-gifts"; // 流水
    // 任务状态
    const TASK_STATUS_UNOPENED = -1; // 未开启
    const TASK_STATUS_START = 0; // 进行中
    const TASK_STATUS_FINISH = 1; // 完成
    const TASK_STATUS_RECEIVE = 2; // 已领取


    //认证技能
    const SKILL_HOST=1; //主持人
    const SKILL_CHAT=2;//聊愈师
    const SKILL_SINGER=3;//歌手

    /**
     * 审核表 ln_anchor_apply
     */
    //审核状态：-1-拒绝， 0-待审核、1-通过
    const APPLY_AUDIT_STATUS_PASS = 1;
    const APPLY_AUDIT_STATUS_WAIT = 0;
    const APPLY_AUDIT_STATUS_REFUSE = -1;

    //认证状态：-1-平台取消，0-未认证， 1-认证成功
    const APPLY_ATTESTATION_STATUS_PASS = 1;
    const APPLY_ATTESTATION_STATUS_WAIT = 0;
    const APPLY_ATTESTATION_STATUS_REFUSE = -1;

    //面试状态：-1-拒绝， 0-待审核、1-通过
    const APPLY_INTERVIEW_STATUS_PASS = 1;
    const APPLY_INTERVIEW_STATUS_WAIT = 0;
    const APPLY_INTERVIEW_STATUS_REFUSE = -1;

    // 统计类型
    const STAT_TYPE_ONLINE = "online"; // 在线时长
    const STAT_TYPE_USER_MATCH = "user-match"; // 匹配
    const STAT_TYPE_USER_CHAT = "user-chat"; // 私聊
    const STAT_TYPE_DYNAMIC = "dynamic"; // 动态
    const STAT_TYPE_RECEIVE_GIFTS = "receive-gifts"; // 流水
    const STAT_TYPE_ASSIGN_USER = "assign-user"; // 分配用户
    const STAT_TYPE = [
        self::STAT_TYPE_ONLINE,
        self::STAT_TYPE_USER_MATCH,
        self::STAT_TYPE_USER_CHAT,
        self::STAT_TYPE_DYNAMIC,
        self::STAT_TYPE_RECEIVE_GIFTS,
        self::STAT_TYPE_ASSIGN_USER,
    ];

    // 经验
    const EXP_TYPE_TASK = 1; // 任务

    //主播类型
    const ANCHOR_TYPE = [
        '1' => '魅力主播',
        '2' => '优质主播',
        '3' => '金牌主播',
        '4' => '明星主播',
    ];

    //配置类型
    const ANCHOR_TYPE_LEVEL=1;//主播等级


    const ANCHOR_LEVE_COIN_HEALING_1 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/healing1.png';//魅力疗愈师
    const ANCHOR_LEVE_COIN_HEALING_2 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/healing2.png';//优质疗愈师
    const ANCHOR_LEVE_COIN_HEALING_3 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/healing3.png';//金牌疗愈师
    const ANCHOR_LEVE_COIN_HEALING_4 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/healing4.png';//明星疗愈师

    const ANCHOR_LEVE_COIN_SINGER_1 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/singer1.png'; //魅力歌手
    const ANCHOR_LEVE_COIN_SINGER_2 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/singer2.png'; //优质歌手
    const ANCHOR_LEVE_COIN_SINGER_3 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/singer3.png'; //金牌歌手
    const ANCHOR_LEVE_COIN_SINGER_4 = 'https://moka-voice.oss-cn-hangzhou.aliyuncs.com/icons/singer4.png'; //明星歌手


}
